package com.zst.dollars.common;

import io.netty.util.AttributeKey;

import java.util.concurrent.Semaphore;
import java.util.concurrent.atomic.AtomicInteger;

public interface Consts {
    AttributeKey<String> tokenKey = AttributeKey.valueOf("clientToken");
    AttributeKey<AtomicInteger> keepAliveCount = AttributeKey.valueOf("keepAliveCount");
    int keepALiveMaxCount = 2;
    int port = 4396;
    int clientConnectWaitCount = 2;
    AttributeKey<Semaphore> smeaphoreKey = AttributeKey.valueOf("semaphore");
}
